﻿#region Header
// ------------------------ Licence / Copyright ------------------------
// 
// ScrumTable for Scrum Meeting Support
// Copyright © HSR - Hochschule für Technik Rapperswil
// All Rights Reserved
// 
// Author:
//  Michael Gfeller Silvan Gehrig Patrick Boos
// 
// ---------------------------------------------------------------------
#endregion

#region Usings

using System;
using System.Collections.Generic;
using System.ComponentModel;
using ScrumTable.BL.DM.DataManagement;

#endregion

namespace ScrumTable.UI.ViewModel.Data
{
    /// <summary>
    /// User story for the View model
    /// </summary>
    public interface IViewModelData<out T> : INotifyPropertyChanged
        where T : DomainBase
    {
        #region Properties
        //--------------------------------------------------------------------
        // Properties
        //--------------------------------------------------------------------

        /// <summary>
        /// Gets the original instance.
        /// </summary>
        T Original { get; }

        /// <summary>
        /// Gets the id of the task.
        /// </summary>
        string Id
        {
            get;
        }

        
      



        #endregion

        #region Methods
        //--------------------------------------------------------------------
        // Methods
        //--------------------------------------------------------------------

        /// <summary>
        /// Saves this view model object .
        /// </summary>
        void Save();

        #endregion

        #region Events
        //--------------------------------------------------------------------
        // Events
        //--------------------------------------------------------------------

        #endregion
    }
}